package icu.sehnen.common.result;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 后台用户权限表
 * </p>
 *
 * @author icu.sehnen
 * @since 2021-04-27
 */
@Data
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;
    private  Long id;

    private Long pid;


    private String name;


    private String icon;

    private Integer type;

    private String path;

    private Integer status;

//    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
//    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private Date createTime;

    List<Permission> children;

    private Integer sort;

}
